package com.ccb.sc.common.modules.order.vo;

import com.ccb.sc.common.modules.order.enums.OrderStatus;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * @author ken
 * @version 1.0
 * @date 2020-09-27
 */
@Data
public class OrderCommentListVo implements Serializable {

    @ApiModelProperty("订单id")
    private String id;

    @ApiModelProperty("状态")
    private OrderStatus status;

    @ApiModelProperty("订单使用积分")
    private BigDecimal userPoints;

    @ApiModelProperty("包装评分")
    @NotNull
    private Integer packageScore;

    @ApiModelProperty("服务评分")
    @NotNull
    private Integer serviceScore;

    @ApiModelProperty("物流评分")
    @NotNull
    private Integer shippingScore;

    @ApiModelProperty("订单项")
    private List<OrderItemCommentVo> items;
}
